/// id : "578404048525328517"
/// isDel : 0
/// pid : 578403789917126656
/// areaName : "山西省"
/// shortName : "山西省"
/// areaCode : "14"
/// parentAreaCode : "1"
/// areaLightPath : "-1"
/// sysMiddleXzqhId : null

class AreaXzqh {
  AreaXzqh({
      String? id, 
      num? isDel, 
      num? pid, 
      String? areaName, 
      String? shortName, 
      String? areaCode, 
      String? parentAreaCode, 
      String? areaLightPath, 
      dynamic sysMiddleXzqhId,}){
    _id = id;
    _isDel = isDel;
    _pid = pid;
    _areaName = areaName;
    _shortName = shortName;
    _areaCode = areaCode;
    _parentAreaCode = parentAreaCode;
    _areaLightPath = areaLightPath;
    _sysMiddleXzqhId = sysMiddleXzqhId;
}

  AreaXzqh.fromJson(dynamic json) {
    _id = json['id'];
    _isDel = json['isDel'];
    _pid = json['pid'];
    _areaName = json['areaName'];
    _shortName = json['shortName'];
    _areaCode = json['areaCode'];
    _parentAreaCode = json['parentAreaCode'];
    _areaLightPath = json['areaLightPath'];
    _sysMiddleXzqhId = json['sysMiddleXzqhId'];
  }
  String? _id;
  num? _isDel;
  num? _pid;
  String? _areaName;
  String? _shortName;
  String? _areaCode;
  String? _parentAreaCode;
  String? _areaLightPath;
  dynamic _sysMiddleXzqhId;
AreaXzqh copyWith({  String? id,
  num? isDel,
  num? pid,
  String? areaName,
  String? shortName,
  String? areaCode,
  String? parentAreaCode,
  String? areaLightPath,
  dynamic sysMiddleXzqhId,
}) => AreaXzqh(  id: id ?? _id,
  isDel: isDel ?? _isDel,
  pid: pid ?? _pid,
  areaName: areaName ?? _areaName,
  shortName: shortName ?? _shortName,
  areaCode: areaCode ?? _areaCode,
  parentAreaCode: parentAreaCode ?? _parentAreaCode,
  areaLightPath: areaLightPath ?? _areaLightPath,
  sysMiddleXzqhId: sysMiddleXzqhId ?? _sysMiddleXzqhId,
);
  String? get id => _id;
  num? get isDel => _isDel;
  num? get pid => _pid;
  String? get areaName => _areaName;
  String? get shortName => _shortName;
  String? get areaCode => _areaCode;
  String? get parentAreaCode => _parentAreaCode;
  String? get areaLightPath => _areaLightPath;
  dynamic get sysMiddleXzqhId => _sysMiddleXzqhId;

  Map<String, dynamic> toJson() {
    final map = <String, dynamic>{};
    map['id'] = _id;
    map['isDel'] = _isDel;
    map['pid'] = _pid;
    map['areaName'] = _areaName;
    map['shortName'] = _shortName;
    map['areaCode'] = _areaCode;
    map['parentAreaCode'] = _parentAreaCode;
    map['areaLightPath'] = _areaLightPath;
    map['sysMiddleXzqhId'] = _sysMiddleXzqhId;
    return map;
  }

}